package com.gang.ssm.bos.system.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gang.ssm.bos.system.bean.Decidedzone;
import com.gang.ssm.bos.system.bean.DecidedzoneExample;

public interface DecidedzoneMapper {
    long countByExample(DecidedzoneExample example);

    int deleteByExample(DecidedzoneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Decidedzone record);

    int insertSelective(Decidedzone record);

    List<Decidedzone> selectByExample(DecidedzoneExample example);

    Decidedzone selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Decidedzone record, @Param("example") DecidedzoneExample example);

    int updateByExample(@Param("record") Decidedzone record, @Param("example") DecidedzoneExample example);

    int updateByPrimaryKeySelective(Decidedzone record);

    int updateByPrimaryKey(Decidedzone record);

	public List<Decidedzone> findByLimit(@Param("pageNo")int pageNo, @Param("pageSize")int pageSize);

	public List<Decidedzone> selectRelationSubarea();

	Decidedzone findWithSubareasById(Integer id);

	Integer findStaffIdById(Integer decidedzoneId);
	
	

}